package com.base.common.util;

public class TokenConstants {
    public static final String TOKEN_HEADER = "Authorization";
    public static final String TOKEN_PREFIX = "Bearer ";

    // token 类型
    public static final String ROLE_PORTAL = "portal";
    public static final String ROLE_ADMIN = "admin";

    // 签名秘钥（最好放配置中心或 Nacos）  帮我生成一个根据AllowAccess注解鉴权token请求的功能
    public static final String SECRET_PORTAL = "portal-secret-key";
    public static final String SECRET_ADMIN = "admin-secret-key";
}
